<?php
return  [
    'default' => env('DATABASE_DEFAULT','mysql'),
    'connections' => [
        'mysql' => [
            'driver'      => 'mysql',
            'host'        => env('DATABASE_HOSTNAME','127.0.0.1'),
            'port'        => env('DATABASE_HOSTPORT',3306),
            'database'    => env('DATABASE_NAME',''),
            'username'    => env('DATABASE_USERNAME',''),
            'password'    => env('DATABASE_PASSWORD',''),
            'prefix'      => env('DATABASE_PREFIX',''),
            'strict'      => true,
            'charset'     => 'utf8mb4',
            'collation'   => 'utf8mb4_general_ci',
            'engine'      => null,
        ],
        'mongodb' => [
            'driver'   => 'mongodb',
            'host'     => env('MONGO_DATABASE_HOSTNAME','127.0.0.1'),
            'port'     => env('MONGO_DATABASE_HOSTPORT',27017),
            'database' => env('MONGO_DATABASE_NAME',''),
            'username' => env('MONGO_DATABASE_USERNAME',''),
            'password' => env('MONGO_DATABASE_PASSWORD',''),
            'options' => ['authSource' => 'admin'],
        ]
    ]
];